package com.siren.tank.group;

import com.siren.tank.Dir;
import com.siren.tank.Group;

/**
 * @author : wangjichao
 * @description:
 * @date : 2020/7/29 10:23
 */
public abstract class AbstractFactory {

    public static final AbstractFactory INSTANCE = ImageFactory.getInstance();

    public abstract BaseTank createGoodTank(int x, int y, Dir dir);
    public abstract BaseTank createBadTank(int x, int y, Dir dir);
    public abstract Bullet createBullet(int x, int y, Dir dir, Group group);
    public abstract Explode createExplode(int x, int y);
    public abstract Wall createWall(int beginX, int beginY, int endX, int endY);
}
